package com.shire.shire_interface.dao.timeline;

import com.shire.shire_interface.model.timeline.WxFriendTimeline;
import com.shire.shire_interface.model.timeline.WxFriendTimelineExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WxFriendTimelineDao {
    long countByExample(WxFriendTimelineExample example);

    int deleteByExample(WxFriendTimelineExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WxFriendTimeline record);

    int insertSelective(WxFriendTimeline record);
    int batchInsertSelective(@Param(value = "recordList") List<WxFriendTimeline> recordList);

    List<WxFriendTimeline> selectByExampleWithBLOBs(WxFriendTimelineExample example);

    List<WxFriendTimeline> selectByExample(WxFriendTimelineExample example);

    WxFriendTimeline selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WxFriendTimeline record, @Param("example") WxFriendTimelineExample example);

    int updateByExampleWithBLOBs(@Param("record") WxFriendTimeline record, @Param("example") WxFriendTimelineExample example);

    int updateByExample(@Param("record") WxFriendTimeline record, @Param("example") WxFriendTimelineExample example);

    int updateByPrimaryKeySelective(WxFriendTimeline record);
    int batchUpdateByPrimaryKeySelective(@Param(value = "recordList") List<WxFriendTimeline> recordList);

    int updateByPrimaryKeyWithBLOBs(WxFriendTimeline record);

    int updateByPrimaryKey(WxFriendTimeline record);
}